Skip to content

docs: remove chat:write.public scope for best practice#281

Merged
mwbrooks merged 2 commits intomainfrom
mwbrooks-remove-scope-chat-write-public
Jan 28, 2026
Merged

docs: remove chat:write.public scope for best practice#281
mwbrooks merged 2 commits intomainfrom
mwbrooks-remove-scope-chat-write-public

Conversation

@mwbrooks
Copy link
Member

@mwbrooks mwbrooks commented Nov 28, 2025

Summary

This pull request removes references to the chat:write.public scope to encourage best practices since this scope is more permissive and should be used sparingly.

This change was originally proposed by @GPTI314 in PR #267. Since the PR is inactive and the CLA is not signed, I've re-written it in this PR.

Requirements

@mwbrooks mwbrooks added this to the Next Release milestone Nov 28, 2025
@mwbrooks mwbrooks self-assigned this Nov 28, 2025
@mwbrooks mwbrooks added the docs M-T: Documentation work only label Nov 28, 2025
@mwbrooks mwbrooks requested review from a team as code owners November 28, 2025 18:45
@mwbrooks mwbrooks added code health M-T: Test improvements and anything that improves code health semver:patch Use on pull requests to describe the release version increment labels Nov 28, 2025
@codecov
Copy link

codecov bot commented Nov 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.85%. Comparing base (51219cf) to head (a6ed427).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #281      +/-   ##
==========================================
- Coverage   64.87%   64.85%   -0.02%     
==========================================
  Files         212      212              
  Lines       17538    17538              
==========================================
- Hits        11378    11375       -3     
- Misses       5094     5095       +1     
- Partials     1066     1068       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mwbrooks Thanks for the polish to these pages! 🔮 ✨

Let's merge this and save time for revisiting these pages for unrelated changes soon. I noted some testing concerns, but nothing that I'll stress about in future weeks. I hope.

Comment on lines -329 to -330
text: `{"ok":true,"app_id":"A123","credentials":{"client_id":"123","client_secret":"123","verification_token":"123","signing_secret":"123"},"oauth_authorize_url":"123":\/\/slack.com\/oauth\/v2\/authorize?client_id=123&scope=commands,chat:write,chat:write.public"}`,
expected: `{"ok":true,"app_id":"A123","credentials":{"client_id":"...","client_secret":"...","verification_token":"...","signing_secret":"..."},"oauth_authorize_url":"...":\/\/slack.com\/oauth\/v2\/authorize?client_id=...&scope=commands,chat:write,chat:write.public"}`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧪 thought: This might reduce the quality of these tests in some perhaps odd edge cases but let's not let that block these greps!

@mwbrooks mwbrooks modified the milestones: v3.11.0, Next Release Jan 16, 2026
@mwbrooks
Copy link
Member Author

@zimeg Thanks for the quick review in contrast to my super slow response! 😬 Hopefully this doesn't degrade our test quality, but we can always revisit it. 🙇🏻 🚀

@mwbrooks mwbrooks enabled auto-merge (squash) January 28, 2026 23:16
@mwbrooks mwbrooks merged commit 8321475 into main Jan 28, 2026
8 checks passed
@mwbrooks mwbrooks deleted the mwbrooks-remove-scope-chat-write-public branch January 28, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code health M-T: Test improvements and anything that improves code health docs M-T: Documentation work only semver:patch Use on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants